<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>信息检索平台</title>
	<link rel="stylesheet" href="../static/index.css">
<!--	<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>-->
</head>
<body>
	<p class="welcome">welcome {{user_id}} 用户！！！</p>
	<p class="title">言情小说搜索引擎</p>
	<div class="history">
		<div class="history_title">搜索历史</div>
		{% for history in history_list %}
   			 <p class="history_content"> {{history}}</p>
    	{% endfor %}
	</div>
	<div class="favorite">
                <div class="header-title">
                   猜你喜欢
                </div>
                <div class="favor-box">
                    <div id="favor-col1" class="favor-col">
                        <div class="favor-item">
                            <div class="favor-item-number">1</div>
                            <a class="favor-title" href={{suggest_list0.book_href}} >{{suggest_list0.book_name}}</a>
                        </div>
                        <div class="favor-item">
                            <div class="favor-item-number">2</div>
                           <a class="favor-title" href={{suggest_list1.book_href}} >{{suggest_list1.book_name}}</a>
                        </div>
                        <div class="favor-item">
                            <div class="favor-item-number">3</div>
                            <a class="favor-title" href={{suggest_list2.book_href}} >{{suggest_list2.book_name}}</a>
                        </div>
                        <div class="favor-item">
                            <div class="favor-item-number">4</div>
                            <a class="favor-title" href={{suggest_list3.book_href}} >{{suggest_list3.book_name}}</a>
                        </div>
                        <div class="favor-item">
                            <div class="favor-item-number">5</div>
                           <a class="favor-title" href={{suggest_list4.book_href}} >{{suggest_list4.book_name}}</a>
                        </div>
                    </div>
                    <div id="favor-col2" class="favor-col">
                        <div class="favor-item">
                            <div class="favor-item-number">6</div>
                            <a class="favor-title" href={{suggest_list5.book_href}} >{{suggest_list5.book_name}}</a>
                        </div>
                        <div class="favor-item">
                            <div class="favor-item-number">7</div>
                            <a class="favor-title" href={{suggest_list6.book_href}} >{{suggest_list6.book_name}}</a>
                        </div>
                        <div class="favor-item">
                            <div class="favor-item-number">8</div>
                            <a class="favor-title" href={{suggest_list7.book_href}} >{{suggest_list7.book_name}}</a>
                        </div>
                        <div class="favor-item">
                            <div class="favor-item-number">9</div>
                            <a class="favor-title" href={{suggest_list8.book_href}} >{{suggest_list8.book_name}}</a>
                        </div>
                        <div class="favor-item">
                            <div class="favor-item-number">10</div>
                            <a class="favor-title" href={{suggest_list9.book_href}} >{{suggest_list9.book_name}}</a>
                        </div>
                    </div>
                </div>
            </div>
	<form action="/search/" method="POST" >
		<p class="p1">普通查询</p>
	<div class="search-box1">
		<input class="search-txt" name="searchcontent1" type="text" placeholder="what are you looking for?">
		<button class="search-btn" type="submit">
		<i class="fas fa-search"></i>
		</button>
	</div>
	</form>
	<form action="/search/" method="POST" >
		<p class="p2">通配查询</p>
	<div class="search-box2">
		<input class="search-txt" name="searchcontent2" type="text" placeholder="what are you looking for?">
		<input class="search-txt1" name="searchcontent2_2" type="text" placeholder="what are you looking for?">
		<button class="search-btn" type="submit">
		<i class="fas fa-search"></i>
		</button>
	</div>
	</form>
	<form action="/search/" method="POST" >
		<p class="p3">短语查询</p>
	<div class="search-box3">
		<input class="search-txt" name="searchcontent3" type="text" placeholder="what are you looking for?">
		<input class="search-txt1" name="searchcontent3_2" type="text" placeholder="what are you looking for?">
		<button class="search-btn" type="submit">
		<i class="fas fa-search"></i>
		</button>
	</div>
	</form>
	<form action="/search/" method="POST" >
		<p class="p4">正则查询</p>
	<div class="search-box4">
		<input class="search-txt" name="searchcontent4" type="text" placeholder="what are you looking for?">
		<input class="search-txt1" name="searchcontent4_2" type="text" placeholder="what are you looking for?">
		<button class="search-btn" type="submit">
		<i class="fas fa-search"></i>
		</button>
	</div>
	</form>
</body>

